package puzzle.projecteuler;

import java.math.BigInteger;

public class Test {


	public static void main(String[] args) {
		BigInteger x = BigInteger.valueOf(1);
		for (int i = 1; i <= 100; i ++) {
			x = x.multiply(BigInteger.valueOf(i));
		}
		String tmp = x.toString();
		int s = 0;
		for (int i = 0; i < tmp.length(); i ++) {
			s += (tmp.charAt(i)-'0');
		}
		System.out.println(s);
	}
}
